#include <iostream>
#include <vector>
using namespace std;

//int,无cv，
template <typename T>
void func(T t)  
{

} 


int main()
{
    int num = 10;
    const int count = 20;

    int * p = &num;
    const int* p2 = &count;

    decltype(num) num1;
    func(num1);

    decltype(count) num2;
    func(num2);
    cout<<num1<<endl;
    return 0;
}